README file from "lighting" directory
~opengl1/examples/lighting README Copyright 1991-1996, Silicon Graphics, Inc. Technical Education Development All Rights Reserved. normals.c - demonstrates how to specify normals for lighting. The red lines represent the direction of the normals. Left Mousebutton - move eye position Middle Mousebutton - change twist angle Right Mousebutton - move up / down to zoom in / out Escape Key - exit the program materials.c - Use material properties to change the color and reflection models for some objects Left Mousebutton - move eye position Middle Mousebutton - change twist angle Right Mousebutton - move up / down to zoom in / out <R> Key - reset viewpoint Escape Key - exit the program colorMaterial.c - demonstrates the use of glColorMaterial to quickly change material properties. Escape key - exit the program lightIntensity.c - Use light properties to change the color of the light in our scene. Left Mousebutton - move eye position Middle Mousebutton - change twist angle Right Mousebutton - move up / down to zoom in / out <a> Key - toggle ambient light intensity on/off <d> Key - toggle diffuse light intensity on/off <s> Key - toggle specular light intensity on/off <R> Key - reset viewpoint Escape Key - exit the program
Source
Documentation
Reference